---
title: Application.SharePointVersion Method (Excel)
keywords: vbaxl10.chm133315
f1_keywords:
- vbaxl10.chm133315
ms.prod: excel
api_name:
- Excel.Application.SharePointVersion
ms.assetid: 9d561b10-dba9-8af5-6e64-66e41714e894
ms.date: 06/08/2017
---


# Application.SharePointVersion Method (Excel)

Returns the version number of SharePoint Foundation instances running at site for the specified URL.


## Syntax

 _expression_ . **SharePointVersion**( **_bstrUrl_** )

 _expression_ A variable that returns an **Application** object.


### Parameters



|**Name**|**Required/Optional**|**Data Type**|**Description**|
|:-----|:-----|:-----|:-----|
| _bstrUrl_|Required| **String**|The URL of site to check.|

### Return Value

Long


## See also


#### Concepts


[Application Object](application-object-excel.md)

